#!/bin/bash

TERM="xiterm"
if [ -f /opt/hsc/data/ssh/hmcsshrc ]
then
   $TERM -t "Restricted Shell" -sb -sl 1000 -e bash --rcfile /opt/hsc/data/ssh/hmcsshrc
else
   # This is the case where we want to force a normal
   # restricted shell if for some reason we can find 
   # the default rcfiles provided by HMC
   $TERM -t "Restricted Shell" -sb -sl 1000 -e bash -r
fi
exit 0
